package com.example.asus.mytianqi.Data;

import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;

public class Data {
    public static API getAPI(){
        return new Retrofit.Builder().baseUrl("http://www.weather.com.cn/data/sk/101250301.html/")
                .addConverterFactory(GsonConverterFactory.create())
                .build()
                .create(API.class);

    }

}
